<template>
  <div class="body">
    <div class="top">
      <h2>
        <i @click="fun()">&lt;</i>
        <p>信用卡包</p>
        <b>...</b>
      </h2>
    </div>
    <div class="center">
      <h3>
        <p>卡片推荐</p>
        <i>更多</i>
      </h3>
      <h4>
        <p>龙卡全球支付信用卡</p>
        <i>持续热销款、境内境外通用</i>
      </h4>
      <div class="yhkt">
        <img src="@/assets/Cerditcar/kabao-km1.png" alt="" />
        <img src="@/assets/Cerditcar/kabao-km2.png" alt="" />
      </div>
      <div class="yhkb">
        <img src="@/assets/Cerditcar/kabao-km3.png" alt="" />
        <img src="@/assets/Cerditcar/kabao-km4.png" alt="" />
        <img src="@/assets/Cerditcar/kabao-km5.png" alt="" />
      </div>
      <div class="banner">
        <img src="@/assets/Cerditcar/kabao/banner.png" alt="" />
      </div>
      <div class="amazing">
        <h3>更多精彩</h3>
        <div class="xiangqing">
          <img src="@/assets/Cerditcar/kabao/wdqy.png" alt="" />
          <img src="@/assets/Cerditcar/kabao/wdjf.png" alt="" />
          <img src="@/assets/Cerditcar/kabao/wdyh.png" alt="" />
          <img src="@/assets/Cerditcar/kabao/wdfq.png" alt="" />
          <img src="@/assets/Cerditcar/kabao/szxyk.png" alt="" />
          <img src="@/assets/Cerditcar/kabao/xyksq.png" alt="" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    fun() {
      this.$router.push("/carhome");
    },
  },
};
</script>

<style  lang="scss" scoped>
.top {
  width: 100%;
  height: 0.6rem;
  background: #3069b0;
  h2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    color: #fff;
    align-items: center;
    i {
      font-size: 0.2rem;
      margin-left: 0.1rem;
    }
    b {
      font-size: 0.2rem;
      margin-right: 0.15rem;
    }
    p {
      font-size: 0.2rem;
    }
  }
}
.center {
  width: 100%;
  h3 {
    display: flex;
    justify-content: space-between;
    height: 0.4rem;
    line-height: 0.4rem;
    margin-bottom: 0.2rem;
    p {
      font-weight: 700;
      color: #000;
      margin-left: 0.1rem;
    }
    i {
      font-size: 0.14rem;
      color: #4692f0;
      margin-right: 0.1rem;
    }
  }
  h4 {
    width: 100%;
    text-align: center;
    margin-bottom: 0.2rem;
    p {
      font-weight: 700;
      font-size: 0.2rem;
    }
    i {
      font-size: 0.12rem;
    }
  }
  .yhkt {
    display: flex;
    justify-content: center;
    margin-bottom: 0.1rem;
    img {
      width: 1.5rem;
      margin: 0 0.1rem;
    }
  }
  .yhkb {
    display: flex;
    justify-content: center;
    margin-bottom: 0.1rem;
    img {
      width: 1rem;
      margin: 0 0.1rem;
    }
  }
  .banner {
    width: 100%;
    height: 1.05rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.1rem;
    img {
      width: 3.44rem;
    }
  }
  .amazing {
    h3 {
      margin-top: 0.3rem;
      font-size: 0.2rem;
      font-weight: 700;
      margin-left: 0.1rem;
    }
    .xiangqing {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      img {
        width: 1.68rem;
        margin: 0.03rem 0.02rem;
      }
    }
  }
}
</style>